package com.web.dao.impl;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

import com.web.dao.BaseDao;

@Repository("baseDao")
public class BaseDaoImpl implements BaseDao {

	private static JdbcTemplate jdbc;

	public static void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
		BaseDaoImpl.jdbc = jdbcTemplate;
	}

	@Override
	public void execute(String sql) {
		jdbc.execute(sql);
	}

}
